package com.jyw.business.obstacles.domain.vo.web;

import com.jyw.common.annotation.Conversion;
import com.jyw.common.constant.SysDictTypeConstant;
import com.jyw.common.enums.ConversionType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldNameConstants;

import java.util.Date;

/**
 * @author w_q
 * @date 2023/8/1416:54
 * @Description:
 */
@Data
@ApiModel("分页查询通话记录返回VO")
@FieldNameConstants
public class CallRecordPageVO {

    @ApiModelProperty(value = "工单主键")
    private Long id;

    @ApiModelProperty(value = "工单号")
    private String orderNum;

    @ApiModelProperty(value = "报修电话")
    private String phone;

    @ApiModelProperty(value = "报修人")
    private String user;

    @ApiModelProperty(value = "服务台（接听人）id")
    private Long reception;

    @ApiModelProperty(value = "座席人")
    private String nickName;

    @ApiModelProperty(value = "录音信息")
    private String recording;

    @ApiModelProperty(value = "电话类型：0已接，1呼出，2未接")
    private Integer callType;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "处置类型")
    @Conversion(value = ConversionType.DICT,dictType = SysDictTypeConstant.OBS_DEAL_TYPE)
    private String dealType;

    @ApiModelProperty("处置类型")
    private String dealTypeToName;
}
